home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 August / MW 8 2003 CD1.iso / Inside Macworld / Product News / gimp-1.2.4.sit / gimp-1.2.4 / devel-docs / libgimp / tmpl / gimpdialog.sgml < prev    next >
Encoding:
SGML Document  |  2003-05-20  |  2.5 KB  |  133 lines

  1. <!-- ##### SECTION Title ##### -->
  2. gimpdialog
  3.  
  4. <!-- ##### SECTION Short_Description ##### -->
  5. Constructors for #GtkDialog's and action_areas as well as other
  6. dialog-related stuff.
  7.  
  8. <!-- ##### SECTION Long_Description ##### -->
  9. <para>
  10.  
  11. </para>
  12.  
  13. <!-- ##### SECTION See_Also ##### -->
  14. <para>
  15.  
  16. </para>
  17.  
  18. <!-- ##### FUNCTION gimp_dialog_new ##### -->
  19. <para>
  20.  
  21. </para>
  22.  
  23. @title: 
  24. @wmclass_name: 
  25. @help_func: 
  26. @help_data: 
  27. @position: 
  28. @allow_shrink: 
  29. @allow_grow: 
  30. @auto_shrink: 
  31. @Varargs: 
  32. @Returns: 
  33.  
  34.  
  35. <!-- ##### FUNCTION gimp_dialog_newv ##### -->
  36. <para>
  37.  
  38. </para>
  39.  
  40. @title: 
  41. @wmclass_name: 
  42. @help_func: 
  43. @help_data: 
  44. @position: 
  45. @allow_shrink: 
  46. @allow_grow: 
  47. @auto_shrink: 
  48. @args: 
  49. @Returns: 
  50.  
  51.  
  52. <!-- ##### FUNCTION gimp_dialog_set_icon ##### -->
  53. <para>
  54.  
  55. </para>
  56.  
  57. @dialog: 
  58.  
  59.  
  60. <!-- ##### FUNCTION gimp_dialog_create_action_area ##### -->
  61. <para>
  62.  
  63. </para>
  64.  
  65. @dialog: 
  66. @Varargs: 
  67.  
  68.  
  69. <!-- ##### FUNCTION gimp_dialog_create_action_areav ##### -->
  70. <para>
  71.  
  72. The @va_list describing the action_area #GtkButton's has the following format:
  73.  
  74. <informaltable pgwide=1 frame="none" role="struct">
  75. <tgroup cols="2"><colspec colwidth="4*"><colspec colwidth="8*">
  76. <tbody>
  77.  
  78. <row>
  79. <entry>#gchar *label,</entry>
  80. <entry>The button's label.</entry>
  81. </row>
  82.  
  83. <row>
  84. <entry>#GtkSignalFunc callback,</entry>
  85. <entry>The callback which will be connected to the button's
  86. "clicked" signal</entry>
  87. </row>
  88.  
  89. <row>
  90. <entry>#gpointer data,</entry>
  91. <entry>The callback data which will be used in
  92. gtk_signal_connect(). If you pass #NULL, then the dialog itself will
  93. by passed as @data.</entry>
  94. </row>
  95.  
  96. <row>
  97. <entry>#GtkObject *slot_object,</entry>
  98. <entry>If you pass a pointer other than #NULL, then the button's "clicked"
  99. signal will be connected with gtk_signal_connect_object() instead of
  100. gtk_signal_connect(). If you want the dialog itself to be the
  101. @slot_object, pass "1".</entry>
  102. </row>
  103.  
  104. <row>
  105. <entry>#GtkWidget **widget_ptr,</entry>
  106. <entry>A pointer to store the created button in.</entry>
  107. </row>
  108.  
  109. <row>
  110. <entry>#gboolean default_action,</entry>
  111. <entry>#TRUE if this button should grab the default dialog action with
  112. gtk_widget_grab_default().</entry>
  113. </row>
  114.  
  115. <row>
  116. <entry>#gboolean connect_delete,</entry>
  117. <entry>#TRUE if the dialog's "delete_event" should be connected to
  118. this button's callback. Usually you will connect to the dialog's
  119. "Cancel" callback. Note that the callback will be called indirectly,
  120. so you don't have to worry about the #GdkEvent pointer which comes
  121. with the "delete_event", as it will be stripped away before your
  122. "Cancel" callback is called.</entry>
  123. </row>
  124.  
  125. </tbody></tgroup></informaltable>
  126.  
  127. </para>
  128.  
  129. @dialog: 
  130. @args: 
  131.  
  132.  
  133.